home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1805 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  854 b   |  27 lines

  1. on(press){
  2.    _root.dis = 2;
  3.    if(_root.inven._currentframe == 1)
  4.    {
  5.       if(_root.micon._currentframe == 1)
  6.       {
  7.          _root.next_dis1 = 2;
  8.          _root.next_txt1 = "I think I\'ll leave that rabbit alone.  It\'s way to dangerous to cross that street to get him.";
  9.       }
  10.       if(_root.micon._currentframe == 2)
  11.       {
  12.          _root.txt_number = 1;
  13.          _root.next_dis1 = 2;
  14.          _root.next_txt1 = "Ohh look at that cute little fella.";
  15.       }
  16.       if(_root.micon._currentframe == 30)
  17.       {
  18.          _root.sfx.gotoAndStop(3);
  19.          _root.even15 = 1;
  20.          _root.micon.gotoAndStop(1);
  21.          _root.txt_number = 1;
  22.          _root.next_dis1 = 2;
  23.          _root.next_txt1 = "I\'ll just place these carrots on the ground here, because it is way to dangerous to cross that street.";
  24.       }
  25.    }
  26. }
  27.